ScanDeviceManager EnableFastIOMonitoring
Enables fast IO monitoring for this instance of ScanDeviceManager . Fast I/O monitoring is implemented on the controller with a response time on the order of 100 milliseconds.
Overloads
| public void EnableFastIOMonitoring(string deviceName, string pinName, bool raiseOnHigh, bool raiseOnLow) |
Return value
| void |
Parameters
| string | deviceName | Unique name of the device |
| string | pinName | Name of the pin for which fast IO monitoring is enabled |
| bool | raiseOnHigh | Trigger when the pin is in high state |
| bool | raiseOnLow | Trigger when the pin is in low state |
Exceptions
| DeviceNotFoundException | Throws when the device with the given name is not found |
| ArgumentException | Throws if the pin name is invalid or if the device is offline |
Example
Copy
scanDeviceManager.EnableFastIOMonitoring(deviceName, "Pin.Din.Auxiliary.In0", true, false);